package util

import "os"

func openFileToByte(file string) []byte {
	data, ok := os.ReadFile(file)
	if ok != nil {
		panic("open file fail")
	}

	return data
}
